home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 32
/
Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso
/
Aminet
/
game
/
think
/
MUIMineSrc.lha
/
MUIMineSource
/
ISWindow.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-12-18
|
2KB
|
65 lines
#ifndef __ISWINDOW_H_
#define __ISWINDOW_H_
/*
header file for X-Mines Image Select window MUI custom class
*/
/********************************************************************
class attributes
********************************************************************/
/*
these attributes are [I.G], they specify the image files that
are selected
*/
#define MUIA_ISWindow_MineFieldImage (ISWINDOW_TAG_BASE | 0x0001)
#define MUIA_ISWindow_StartButtonImage (ISWINDOW_TAG_BASE | 0x0002)
#define MUIA_ISWindow_MinesDigitsImage (ISWINDOW_TAG_BASE | 0x0003)
#define MUIA_ISWindow_TimeDigitsImage (ISWINDOW_TAG_BASE | 0x0004)
/*
this attribute is [.SG], it specifies whether the window was
closed by the 'OK' or 'Cancel' buttons
*/
#define MUIA_ISWindow_ExitCode (ISWINDOW_TAG_BASE | 0x0008)
/********************************************************************
special values for class attributes
********************************************************************/
#define MUIV_ISWindow_ExitCode_Cancel 0
#define MUIV_ISWindow_ExitCode_OK 1
/********************************************************************
class methods
********************************************************************/
#define MUIM_ISWindow_ExitCheck (ISWINDOW_TAG_BASE | 0x0800)
struct MUIP_ISWindow_ExitCheck { ULONG MethodId; ULONG ExitCode; };
/********************************************************************
function prototypes
********************************************************************/
struct MUI_CustomClass * CreateISWindowClass(void);
void DeleteISWindowClass(struct MUI_CustomClass * mcc);
#endif /* __ISWINDOW_H_ */